@font-face {
    font-family: 'DiodrumCyrillic';
    src: url('../fonts/DiodrumCyrillic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}


/* html {
    font-size: 62.5%;
} */

body {
    font-family: 'DiodrumCyrillic';
    font-size: 16px;
    line-height: 1.6;
    background: #fff;
    color: #000;
    overflow-x: hidden;
}

body.rtl{
    direction: rtl;
}

/* ========== HEADER BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

/* header .top-section {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 10px;
}

header .logo-container img {
    object-fit: contain;
    padding-block: 10px;
    width: 80%;
}

header .menu-container {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 25px;
}


header .nav-menu li {
    position: relative;
}

header .nav-menu a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

header .nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #7C32C9;
    transition: width 0.3s ease;
}

header .nav-menu a:hover {
    color: #7C32C9;
}

header .nav-menu a:hover::after {
    width: 100%;
}

header .nav-menu a.active {
    color: #7C32C9 !important;
    font-weight: 600;
}

header .nav-menu a.active::after {
    width: 100%;
    background: #7C32C9;
}

header .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
    padding: 10px;
} */

/* Bottom Section */
/* header .bottom-section {
    background-color: #292069;
    padding-inline: 10px;
}

header .sponser-section {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 25px;
    padding: 10px 0;
    color: #fff;
}

header .sponser-logo {
    max-height: 30px;
    object-fit: contain;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
    header .menu-container {
        display: flex;
        flex-direction: row-reverse;
        justify-content: end;
        align-items: center;
        gap: 25px;
    }

    header .logo-container img {
        width: 60%;
    }

    header .register-btn {
        font-size: 15px;
        padding: 8px;
    }

    header .sponser-section span {
        font-size: 12px;
        white-space: nowrap;
    }

    header .sponser-logo {
        max-height: 18px;
        object-fit: contain;
    }

    header .mobile-menu-btn {
        display: block;
    }

    header .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        flex-direction: column;
        width: fit-content;
        min-width: 200px;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    header .nav-menu.active {
        max-height: 400px;
    }

    header .nav-menu li {
        border-bottom: 1px solid #f0f0f0;
    }

    header .nav-menu li:last-child {
        border-bottom: none;
    }

    header .nav-menu a {
        display: block;
        padding: 15px 20px;
    }

    header nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
} */

/* ========== HEADER BASE STYLES ENDS ========== */




/* ========== FOOTER BASE STYLES ========== */


footer {
    background-color: #292069;
    color: #fff;
    padding: 40px 10px 20px;
    position: relative;
}

footer .pattern-2 {
    position: absolute;
    bottom: 0;
    left: 0;
}

/* ========== TOP SECTION ========== */
footer .top-section {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer .logo-container {
    flex: 1;
}

footer .logo-container img {
    max-height: 70px;
}

footer .sponser-container {
    text-align: center;
    flex: 1;
}

footer .powered-by {
    display: block;
    font-size: 12px;
    margin-bottom: 1rem;
}

footer .sponser-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}



/* ========== BOTTOM SECTION ========== */
footer .bottom-section {
    max-width: 1200px;
    margin: 30px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

footer .content {
    flex: 1;
}

footer .content .wrapper {
    display: inline-block;
    text-align: center;
    margin-right: auto;
    width: 200px;
    min-width: fit-content;
}

footer .content h5 {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 500;
}

footer .content p {
    font-size: clamp(12px, 2vw, 16px);
    font-weight: 300;
    margin-top: 5px;
}

footer .footer-nav {
    flex: 1;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #a78bfa;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.copyright {
    font-size: 14px;
    opacity: 0.9;
}

.legal-links {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    footer .top-section {
        flex-direction: column;
        text-align: center;
    }

    footer .logo-container img {
        max-height: 45px;
    }


    footer .bottom-section {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        gap: 15px;
        padding: 20px 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== FOOTER BASE STYLES ENDS ========== */



/* buttons */
.btn-primary {
    display: inline-block;
    padding: 10px 25px;
    background: #1CC182;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.btn-outline {
    padding: 10px 16px;
    border: 1px solid #1CC182;
    background: transparent;
    color: #1CC182;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
}

.btn-secondary {
    display: inline-flex;
    justify-content: center;
    gap: 10px;
    width: 145px;
    padding: 5px 20px;
    background: #1CC182;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 25px;
}

/* buttons css end */

/* ========== HOMEPAGE STYLES  ========== */



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
}



/* hero section css */

.hero-section {
    min-height: 555px;
    color: #fff;
    background: url('../images/Hero-banner.png') no-repeat center right;
    background-size: cover;
}

.hero-section .container {
    display: flex;
    padding: 80px 10px;
}

.hero-section .content-wrapper {
    flex: 1;
}

.hero-section .text-box h1 {
    text-shadow: 0px 3.62px 6.6px rgba(0, 0, 0, 0.5);
    font-size: 54px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 4px;
}

.hero-section .text-box p {
    font-size: 18px;
    margin-bottom: 40px;
    width: 80%;
    color: #fff;
}

.hero-section .spacer {
    flex: 1;
}



/* hero section css */


/* empower section */

.empower-section {
    padding: 55px 10px;
    background-color: #f8f8f8;
}

.empower-section .content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.empower-section .image-box {
    flex: 1 1 400px;
}

.empower-section .image-box img {
    width: 100%;
}

.empower-section .text-box {
    flex: 1 1 500px;
}

.empower-section .text-box h2 {
    font-size: 36px;
    color: #2A206A;
    line-height: 1.2;
    margin-bottom: 30px;
}

.empower-section .text-box p {
    font-size: 18px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* empower section ends */



/* course section */

.course-section {
    padding: 40px 10px;
    position: relative;
}

.course-section .pattern-1 {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-50%);
}

.course-section .heading-box {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.course-section .heading-box h2 {
    color: #7C32C9;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.course-section .text-box p {
    font-size: 18px;
}

.course-section .course-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 35px 0;
}

.course-card {
    width: 380px;
    border: 1px solid #E2E2E2;
    padding: 10px;
}

.course-card .course-img-section {
    overflow: hidden;
}

.course-card img {
    object-fit: cover;
    width: 100%;
}

.course-card .course-details {
    padding: 10px;
}

.course-card .course-title {
    font-size: 22px;
    color: #2A206A;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.course-card .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
}

.course-card .info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #000;
    font-size: 16px;
    font-weight: 450;
    gap: 15px;
    line-height: 1.2;
}

.course-card .info-list img {
    width: 22px;
}

.course-card .card-footer {
    position: relative;
}

/* course section ends*/

.dga-image {
    width: 100%;
    /* min-height: 55rem; */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
}

.dga-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* Faq section */
.faq-section {
    padding: 35px 10px;
    background-color: #f8f8f8;
}

.faq-section h2 {
    color: #7C32C9;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 3px;
}

.faq-section p {
    font-size: 18px;
}

.faq-section .content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 30px;
}

.faq-section .text-box {
    flex: 1;
}

.accordion {
    background-color: #fff;
}

.accordion-item {
    margin: 10px 0;
    border-radius: 0px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
}

.accordion-title {
    color: #000;
    padding: 18px 20px;
    cursor: pointer;
    position: relative;
    font-size: 20px;
}

.accordion-title.active {
    color: #fff;
    background-color: #2A206A;
    padding: 18px 20px;
    cursor: pointer;
    position: relative;
    font-size: 20px;
}


.accordion-title::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotateX(0deg);
    width: 16px;
    height: 16px;
    background: url('../images/icons/blue-down-chevon.svg') no-repeat center center;

    background-size: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.accordion-title.active::after {
    filter: brightness(0) invert(1);
    transform: translateY(-50%) rotateX(180deg);
}

.container.rtl .accordion-title::after, 
.container.rtl .accordion-title.active::after{
    display: none;
}
    .container.rtl .accordion-title::before {
        content: "";
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%) rotateX(0deg);
        width: 16px;
        height: 16px;
        background: url('../images/icons/blue-down-chevon.svg') no-repeat center center;
        background-size: contain;
        transition: transform 0.3s ease, filter 0.3s ease;
    }
    .container.rtl .accordion-title.active::before {
        filter: brightness(0) invert(1);
        transform: translateY(-50%) rotateX(180deg);
    }

.accordion-content {
    display: none;
    padding: 15px 20px;
    background: #f9f9f9;
    font-size: 16px;
    line-height: 1.6;
}

.faq-section .support-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
}

.faq-section .content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.faq-section .support-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px 25px;
    background: #22C55E;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

@media screen and (max-width: 440px) {
    .hero-section {
        background-position: center center;        
        background: url('../images/Mb-Hero-banner.jpg') no-repeat top center;
    }
}
@media (max-width: 768px) {

    .hero-section .text-box h1 {
        font-size: 38px;
    }

    .hero-section .container {
        flex-direction: column;
    }
    .hero-section .container.rtl {
        flex-direction: column !important;
    }


    h2 {
        font-size: 26px !important;
    }

    .course-section .pattern-1 {
        width: 45%;
    }

    .course-section .heading-box {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .course-section .heading-box h2 {
        margin-bottom: 15px;
    }

    .faq-section .content-wrapper {
        flex-direction: column;
        gap: 0px;
    }


    .faq-section .support-section {
        flex-direction: column;
        gap: 20px;
        align-items: start;
    }
    .faq-section .container.rtl .support-section {
        align-items: flex-end;
    }
}






/* arabic-style */

.hero-section.flip{
    transform: scaleX(-1);
}
.hero-section.flip .container{
    transform: scaleX(-1);
}
/* .hero-section .container.rtl {
    flex-direction: row-reverse;
} */
/* .hero-section .container.rtl .content-wrapper, .empower-section .content-wrapper.rtl{
    text-align: right;
}
.hero-section .container.rtl .content-wrapper .text-box p{
    margin-left: auto;
} */

/* .container.rtl, 
.container.rtl li span{
    text-align: right!important;
    margin-left: auto;
} */

/* .container.rtl .info-list li, 
.container.rtl .heading-box{
    flex-direction: row-reverse;
} */

/* .container.rtl .support-section a{
    display: flex;
    flex-direction: row-reverse;
} */
.container.rtl .support-section a img{
    transform: scaleX(-1);
}

@media (max-width: 768px) {
    .container.rtl .heading-box{
        align-items: end;
        flex-direction: column;
    }
}


/* ========== HOMEPAGE STYLES ENDS ========== */